package nci60.data.protein.uniprot

/**
 * This class contains synonyms for the official gene symbols. 
 * The official gene names are chosen by the UniProtKB curators. <p />
 * Most of the differences between official symbols and synonyms are in spelling like “HLA-A” and “HLAA” or  “MLL”, “MLL1” and “MLL1A”. <p />
 * <b>See Also:</b> {@link nci60.data.protein.uniprot.UniprotGene}
 *
 * @autor <a href="mailto:Florian.J.Auer@googlemail.com">Florian J. Auer</a>
*/
class UniprotGeneSynonym {

    /**
    * synonyms for the official gene name
    */
    String name

    
    /**
    * GRAILS <a href="http://grails.org/doc/latest/guide/GORM.html#gormAssociation" target="_blank">Associations in Gorm</a>
    * <p />
    * <style>.custom-table td{border-top:1pt solid grey;vertical-align:top;} .custom-table{border-collapse:collapse;width:100%;}</style>
    * <table class="custom-table">
    * <tr><td>
    *              gene
    * </td><td>        belongs to one specific gene (gene name) <p />
    *                  <b>See Also:</b> {@link nci60.data.protein.uniprot.UniprotGene}
    * </td></tr>
    * </table>
    */
    static belongsTo = [gene:UniprotGene]

    /**
     * GRAILS <a href="http://grails.org/doc/latest/guide/single.html#constraints" target="_blank">Declaring Constraints</a>
     * <p />
     * Constraints in Grails are a way to declaratively specify validation rules for generating objects in GORM.
     */	
    static constraints = {
    }

    /**
     * GRAILS <a href="http://grails.org/doc/latest/guide/GORM.html#ormdsl" target="_blank">Custom ORM Mapping</a>
     * <p />
     * Grails domain classes can be mapped onto many legacy schemas with an Object Relational Mapping DSL (domain specific language). 
     */	
    static mapping = {
        version : false
    }
}
